test: save ~79 CI hours/mo in gateway session utils (#95602)

Merged via squash. Prepared head SHA: 53574bd4d1f770b8f143f2f2b443a6794c888375 Co-authored-by: zats Co-authored-by: vincentkoc <25068+vincentkoc@us…